<h1>New meal</h1>

<%= error_messages_for :meal %>

<% form_for(@meal) do |f| %>
  <%= render :partial => 'form', :locals => {:form => f, :meal => @meal, :products => @products} %>  
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', meals_path %>
